package com.lys.emsystem.vo;

import com.lys.emsystem.entity.Classroom;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClassroomVo {
    private long id;

    private String no;

    private int majorId;

    private boolean status;

    private String schoolName;

    private String collegeName;

    private String majorName;

    private int pageIndex;

    private int pageSize;

    private int totalCount;

    private List<Classroom> classroomList;

    private int[] ids;

    //班级人数
    private int pcu;

    public String getNo() {
        return  no = "".equals(no) || no == null ? null : no;
    }

    public String getSchoolName() {
        return schoolName = "".equals(schoolName) || schoolName == null ? null : schoolName;
    }

    public String getCollegeName() {
        return collegeName = "".equals(collegeName) || collegeName == null ? null : collegeName;
    }

    public String getMajorName() {
        return majorName = "".equals(majorName) || majorName == null ? null : majorName;
    }
}
